home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17048 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: news.cac.psu.edu!psuvm!cwf102
  2. Organization: Kyr's Condom Cantina
  3. X-Subliminal-Message: You want to buy my condoms...  :)
  4. Rationale: Hack and Slay!!
  5. Date: Fri, 12 Apr 1996 20:56:39 EDT
  6. From: The Mighty Stymie <CWF102@psuvm.psu.edu>
  7. Message-ID: <96103.205639CWF102@psuvm.psu.edu>
  8. Newsgroups: comp.lang.c++
  9. Subject: Can't load .CHR file in Huge Memory Model?
  10.  
  11. I am trying to load a third party .CHR font file using Borland Turbo C++ v3.0
  12. into an existing program that is compiled using a huge memory model.  I have
  13. written a test program that is all of 10 lines or so to load the font and
  14. display a few characters.  The test program works fine for any memory model
  15. except the huge.  The file is called KANJ.CHR.  If I remove the file from the
  16. current directory and run the program under a large memory model, I receive the
  17. error "Cannot find (KANJ.CHR)".  If the file is in the current directory and I
  18. compile the program under huge, The error I get is "Cannot find (.CHR)"  or
  19. "Cannot find (199.CHR)" or even "Cannot find (C++.CHR)".  I can however load
  20. the GOTH.CHR that comes with TC++ in the huge model using my test program.
  21. Does anyone have a clue what is going on?  It's obviously losing the name
  22. "KANJ" somehow... but how?  Why?  Why doesn't it lose "GOTH"?  Any help would
  23. be graciously appreciated.  I'm going to try this out using BC++ 5.0 to see if
  24. it makes a difference.
  25. -chris
  26. *******************************************************************************
  27. * ____    __  __  ____ Christopher W. Felter  (alias: The Mighty Stymie)      *
  28. *  ---\    / /   /---  cwf102@psuvm.psu.edu       cwf102@email.psu.edu        *
  29. *   ---\  / /___/--    felt43@eetsg00.bd.psu.edu  stymie@psu.edu              *
  30. *       \/ /   /       http://metro.turnpike.net/S/stymie                     *
  31. *         /   /        "If I get home and there's sour cream on them, those   *
  32. *            /          food, my husband's gonna be pissed.  I said pissed!"  *
  33. *           /           - Overweight, midwestern woman at Taco Bell, Oxford,  *
  34. *                         Ohio (September 11, 1995)                           *
  35. *******************************************************************************
  36.